module.exports = {
    devServer: {
        disableHostCheck: true,  //  注意这一行
        clientLogLevel: 'warning',
        historyApiFallback: {
            rewrites: [
                { from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },
            ],
        },
    }
}
